// 首页
const home = () => import('@/views/home/index');

//产品与服务
const product = () => import('@/views/products/index');

//聚合支付
const juhe =()=>import('@/views/products/juhe')
//线上支付
const xianshang =()=>import('@/views/products/xianshang')
//先享后付
const xianxiang =()=>import('@/views/products/xianxiang')

//解决方案
const solution = () => import('@/views/solutions/index');

//关于我们
const about = () => import('@/views/about/index');

//业务合作
const business = () => import('@/views/business/index');

//新闻中心
const news = () => import('@/views/news/index');

//新闻详情
const newsDetail = () => import('@/views/news/newsDetail');

//公司公告
const notice = () => import('@/views/notice/index');

//招聘官网
const hire = () => import('@/views/business/hire');

//服务与支持
const service = () => import('@/views/service/index');

export default [{
        path: '/',
        redirect: {
            name: 'home',
			keepAlive: true
        }
    },
    {
        path: '/home',
        meta: {
            title: '首页',
        },
        name: 'home',
        component: home
    },
    {
        path: '/service',
        meta: {
            title: '服务与支持',
        },
        name: 'service',
        component: service
    },
	{
        path: '/product',
        meta: {
            title: '产品与服务',
        },
        name: 'product',
        component: product
    },
    {
        path:'/juhe',
        meta: {
            title: '聚合支付',
        },
        name: 'juhe',
        component: juhe
    },
    {
        path:'/xianshang',
        meta: {
            title: '线上支付',
        },
        name: 'xianshang',
        component: xianshang
    },
    {
        path:'/xianxiang',
        meta: {
            title: '先享后付',
        },
        name: 'xianxiang',
        component: xianxiang
    },
	{
        path: '/solution',
        meta: {
            title: '解决方案',
        },
        name: 'solution',
        component: solution
	},
	{
        path: '/about',
        meta: {
            title: '关于我们',
        },
        name: 'about',
        component: about
	},
	{
        path: '/business',
        meta: {
            title: '业务合作',
        },
        name: 'business',
        component: business
	},
    {
        path: '/hire',
        meta: {
            title: '招聘官网',
        },
        name: 'hire',
        component: hire
    },
	{
        path: '/news',
        meta: {
            title: '新闻中心',
        },
        name: 'news',
        component: news
	},
	{
        path: '/newsDetail',
        meta: {
            title: '新闻详情',
		},
        name: 'newsDetail',
        component: newsDetail
	},
	{
        path: '/notice',
        meta: {
            title: '公司公告',
        },
        name: 'notice',
        component: notice
	}
]